home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / TheBearsAdventure.swf / scripts / frame_6 / PlaceObject2_87_45 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2005-08-04  |  357 b   |  21 lines

  1. onClipEvent(enterFrame){
  2.    if(_visible)
  3.    {
  4.       _X = x + (num_dig - 1) * dig_width / 2;
  5.       _Y = y - count * 2;
  6.       count += 2;
  7.       if(count > 10)
  8.       {
  9.          _alpha = (60 - count) * 2;
  10.       }
  11.       else
  12.       {
  13.          _alpha = 100;
  14.       }
  15.       if(count >= 60)
  16.       {
  17.          this.removeMovieClip();
  18.       }
  19.    }
  20. }
  21.